<template>
  <div class="main">
    <div class="part">
      <div class="p-title">
        <div class="title">季度计划</div>
      </div>

      <div class="p-cont">
        <el-table :data="tableData" style="width: 100%" stripe border>
          <el-table-column prop="month" label="月份" />
          <el-table-column prop="man" label="配送方" />
          <el-table-column fixed="right" label="操作" width="150">
            <template #default="scope">
              <el-button
                link
                type="primary"
                size="small"
                @click="editRow(scope.row)"
                >编辑</el-button
              >
            </template>
          </el-table-column>
        </el-table>
      </div>
    </div>
  </div>
</template>

<script setup lang="ts">
import { onBeforeMount, onMounted, ref } from "vue";

const tableData = ref([
  {
    month: 1,
    man: "张三"
  },
  {
    month: 1,
    man: "张三"
  },
  {
    month: 1,
    man: "张三"
  }
]);

function editRow(row) {}
onBeforeMount(() => {});
onMounted(() => {});
</script>
<style scoped lang="scss"></style>
